<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>Tag Management System</title>
</head>
<body>
<h1>Tag Management System</h1>
<table>
  <tr>
    <th>ID</th>
    <th>Name</th>
    <th>Edit</th>
    <th>Delete</th>
  </tr>
  <tr th:each="tag : ${tags}">
    <td th:text="${tag.id}"></td>
    <td th:text="${tag.name}"></td>
    <td><a th:href="@{/tags/edit/{id}(id=${tag.id})}">Edit</a></td>
    <td><a th:href="@{/tags/delete/{id}(id=${tag.id})}">Delete</a></td>
  </tr>
</table>
<br>
<a href="/tags/add">Add Tag</a>
</body>
</html>